<?php
class Frames_Debug extends Zend_Debug
{
	public static function debug( $dbg, $isDie = false,$showDate = true )
	{
		if(true === $showDate){
			?><h4><?php echo date('d/m/y H:i:s');?></h4><?php
		}
		parent::dump($dbg);?><br /><hr /><?php
		if(false !== $isDie){
			die( 'End Debug' );
		}
	}
	
	public static function classInfo( $obj,$showMethods = true,$showVars = true, $isDie = true )
	{
		$className = get_class( $obj );
		self::debug( $className );
		if(true === $showVars){
			?><h5>Public Class Params</h5><?php
			self::debug( get_class_vars( $className ));
		}
		if(true === $showMethods){
			?><h5>Class Methods</h5><?php
			self::debug( get_class_methods( $obj ));
		}
		self::debug( '',$isDie );
	}
	
	
	public static function debugToFile( )
	{
		
	}
	
	
	public static function log( )
	{
		
	}
}